/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2022-05-10
 * Time:23:46
 */
public class Date {

    public int year;
    public int month;
    public int day;

    public void setDate(int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }

    public void printDate(){
        System.out.println(year+" "+month+" "+day);
    }

    public static void main(String[] args) {
        Date date = new Date();
        date.setDate(2022,5,11);
        date.printDate();
    }
}